[[PageOutline(3-4, Sections)]]
== !AutoUpdate ==
=== Intro ===
check for the latest version of given application
----
=== Description ===
'''struct !AutoUpdate (string $program_name)'''
Checks for the latest version of application ''program_name'' and returns download links and changelog (latest features and bug-fixes).
----
=== Parameters ===
''program_name (required)''::
* name of the program/client application you want to check.
* currently supported values: ''subdownloader'', ''oscar''
----
=== Return Values ===
The returned structure contains these elements:
''status''::
function result code, see [wiki:XmlRpcStatusCode list of status codes]
''seconds''::
time taken to execute this command on server
''version''::
latest application version
''url_windows''::
download URL for Windows version
''url_linux''::
download URL for Linux version
''comments''::
application changelog and other comments
----
=== Implementations ===
There are currently no available sample implementations.
----
=== Changelog ===
Version 1: created this function
----
=== Examples ===
==== Input ====
{{{
#!xml
AutoUpdate
oscar
}}}
==== Output ====
{{{
#!xml
version
g2v10
url_windows
http://www.opensubtitles.org/addons/download/oscar/oscar.zip
comments
this is the latest version, many new features, all bugs fixed
status
200 OK
seconds
0.004
}}}
----
=== Notes ===
none yet
----
=== See also ===
----
=== Comments ===
add your comments, hints and suggestions here if you like ...
--------
[Prev] [wiki:XmlRpcIntro Home] [Next]